Skip to main content
Version: 2.0

Encrypted Request

Enterprise can avail Sinch India's WhatsApp business services in encrypted format. Sinch India supports below generic encryption.

  • AES encryption with CBC mode (Cipher Block Chaining)
  • Algorithm: AES256
  • Padding: PKCS5PADDING

Business need to pass request with Header “isEncrypted”: true; for ensuring decryption is done else request will be treated as plain request.

Below fields are supported,

Request TypeDefault Encrypted Field
Plain Textcontent
Mediacontent, caption, mediaPath, mediaUrl
Media Templatecontent, mediaUrl, filename, parameters, buttons
Templateheader, body, buttons
Locationlatitude, longitude

Additional Common Encrypted Fields:

keyValue
content-typeapplication/json
User********
Pass********
isEncryptedtrue/false